package com.goods.business.mapper;

import com.goods.common.model.business.InStock;
import com.goods.common.model.business.Supplier;
import com.goods.common.vo.business.InStockDetailVO;
import com.goods.common.vo.business.InStockVO;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface InStockMapper extends Mapper<InStock> {

    List<InStockDetailVO> selectByIdAndSupId(Long id);

    List<InStockVO> selectByAllAndStatus(@Param("status") Integer status, @Param("type")Integer type,@Param("inNum")  Integer inNum);

}
